#include "ti_msp_dl_config.h"
#include "mid_button.h"
#include "app_key_task.h"

int main(void)
{
    int sys_time = 0;

    SYSCFG_DL_init();

    //按键任务初始化
    user_button_init();

    while (1)
    {

            //按键扫描
            flex_button_scan();
 

        delay_cycles(CPUCLK_FREQ / 1000 * 20);//时间基准2ms
    }
}
